package com.ruoyi.zhgd.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 万能机详情信息(3标)业务对象 n_laboratory_mechanics_w_fy_detail
 *
 * @author tll
 * @date 2023-09-15
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class NLaboratoryMechanicsWFyDetailBo extends BaseEntity {

    /**
     * 源表主键
     */
    @NotNull(message = "源表主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * group表主键
     */
    @NotNull(message = "group表主键不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long groupId;

    /**
     * 试验编号
     */
    @NotBlank(message = "试验编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String SYBH;

    /**
     * 龄期
     */
    @NotBlank(message = "龄期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String LQ;

    /**
     * 试件序号
     */
    @NotBlank(message = "试件序号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String XH;

    /**
     * 试件数量
     */
    @NotBlank(message = "试件数量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String SYSL;

    /**
     * 试验状态
     */
    @NotBlank(message = "试验状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String Tag;

    /**
     * 检测参数
     */
    @NotBlank(message = "检测参数不能为空", groups = { AddGroup.class, EditGroup.class })
    private String SYLX;

    /**
     * 试验开始时间
     */
    @NotNull(message = "试验开始时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date SYSJ;

    /**
     * 试验持续时间s
     */
    @NotBlank(message = "试验持续时间s不能为空", groups = { AddGroup.class, EditGroup.class })
    private String CXSJ;

    /**
     * 试验最大速率
     */
    @NotBlank(message = "试验最大速率不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ZDSL;

    /**
     * 设备量程
     */
    @NotBlank(message = "设备量程不能为空", groups = { AddGroup.class, EditGroup.class })
    private String SBLC;

    /**
     * 力值单位
     */
    @NotBlank(message = "力值单位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String LZDW;

    /**
     * 最大力
     */
    @NotBlank(message = "最大力不能为空", groups = { AddGroup.class, EditGroup.class })
    private String ZDL;

    /**
     * 屈服点
     */
    @NotBlank(message = "屈服点不能为空", groups = { AddGroup.class, EditGroup.class })
    private String QFD;

    /**
     * Rp02荷载值
     */
    @NotBlank(message = "Rp02荷载值不能为空", groups = { AddGroup.class, EditGroup.class })
    private String Rp02;

    /**
     * 曲线
     */
    @NotBlank(message = "曲线不能为空", groups = { AddGroup.class, EditGroup.class })
    private String YSGCSJ;

    /**
     * 数据来源
     */
    @NotBlank(message = "数据来源不能为空", groups = { AddGroup.class, EditGroup.class })
    private String type;


}
